import { defineStore } from "pinia";
import { modal } from "@/plugins"

const useOrderStore = defineStore("order", {
  state: () => ({
		carOrder: {}
  }),
  actions: {
    // 购物车选择的商品
    setGoods(order) {
      this.carOrder = order
    }
  }
});

export default useOrderStore;
